﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using nplJobsDAL.Select;
using nplJobsCommon.Job;

namespace nplJobsBLL.ProcessJob
{
    public class ProcessSelectCitiesByJob
    {
        public long JobID { get; set; }
        public List<JobCities> JobCities { get; set; }

        public void invoke()
        {
            SelectJobLocationCities jobCities = new SelectJobLocationCities();
            jobCities.JobID = this.JobID;
            this.JobCities = jobCities.GetJobCities();
        }

        public void InvokeOutsideCities()
        {
            SelectJobLocationCities jobCities = new SelectJobLocationCities();
            jobCities.JobID = this.JobID;
            this.JobCities = jobCities.GetJobOutsideCities();
        }
    }
}
